projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ee95b1
)
Explicitly bind Some(false)
author
David Tolnay
<dtolnay@gmail.com>
Thu, 1 Sep 2016 21:17:42 +0000
(14:17 -0700)
committer
David Tolnay
<dtolnay@gmail.com>
Thu, 1 Sep 2016 21:17:42 +0000
(14:17 -0700)
src/cargo/util/toml.rs
patch
|
blob
|
history
diff --git
a/src/cargo/util/toml.rs
b/src/cargo/util/toml.rs
index 15e5246315d711265063752c1bb32d6f772064df..ac94d3a2837e157d33ab1cf6d374e20aedbfe0ac 100644
(file)
--- a/
src/cargo/util/toml.rs
+++ b/
src/cargo/util/toml.rs
@@
-1063,7
+1063,7
@@
fn normalize(lib: &Option<TomlLibTarget>,
.set_for_host(match (toml.plugin, toml.rustc_macro) {
(None, None) => t2.for_host(),
(Some(true), _) | (_, Some(true)) => true,
-
_
=> false,
+
(Some(false), _) | (_, Some(false))
=> false,
});
}